package com.baosight.risk.service.riwa.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIWA_RISK_WARING
 * 重点风险预警模型
 */
@Data
@ApiModel
@Table(name = "T_RIWA_RISK_WARING")
public class RiwaRiskWaring extends BaseEntity {

    /**
     * 重点风险ID
     * <p>
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    IMPORT_GUID
     * Nullable:  true
     */
    @ApiModelProperty("重点风险ID")
    @Column(name = "IMPORT_GUID")
    private String importGuid;

    /**
     * 披露报告ID
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    IMPORT_REPORT_GUID
     * Nullable:  true
     */
    @ApiModelProperty("披露报告ID")
    @Column(name = "IMPORT_REPORT_GUID")
    private String importReportGuid;

    /**
     * 预警模型名称
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    WARNING_NAME
     * Nullable:  true
     */
    @ApiModelProperty("预警模型名称")
    @Column(name = "WARNING_NAME")
    private String warningName;

    /**
     * 预警模型描述
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    WARNING_DESC
     * Nullable:  true
     */
    @ApiModelProperty("预警模型描述")
    @Column(name = "WARNING_DESC")
    private String warningDesc;

    /**
     * 模型类型（common-常见模型，special-特殊模型）
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    WARNING_TYPE
     * Nullable:  true
     */
    @ApiModelProperty("模型类型（common-常见模型，special-特殊模型）")
    @Column(name = "WARNING_TYPE")
    private String warningType;

    /**
     * 模型类型说明
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    WARNING_TYPE_NAME
     * Nullable:  true
     */
    @ApiModelProperty("模型类型说明")
    @Column(name = "WARNING_TYPE_NAME")
    private String warningTypeName;

    /**
     * 值集编码
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    DD_TYPE_CODE
     * Nullable:  true
     */
    @ApiModelProperty("值集编码")
    @Column(name = "DD_TYPE_CODE")
    private String ddTypeCode;

    /**
     * 值集名称
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    DD_TYPE_NAME
     * Nullable:  true
     */
    @ApiModelProperty("值集名称")
    @Column(name = "DD_TYPE_NAME")
    private String ddTypeName;

    /**
     * 调用方法
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    WARNING_URL
     * Nullable:  true
     */
    @ApiModelProperty("调用方法")
    @Column(name = "WARNING_URL")
    private String warningUrl;

    /**
     * 风险点ID
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    RISK_ID
     * Nullable:  false
     */
    @ApiModelProperty("风险点ID")
    @Column(name = "RISK_ID")
    private String riskId;

    /**
     * 所属单位
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @ApiModelProperty("所属单位")
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 所属单位名称
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @ApiModelProperty("所属单位名称")
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 所属部门
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    DEPT_CODE
     * Nullable:  true
     */
    @ApiModelProperty("所属部门")
    @Column(name = "DEPT_CODE")
    private String deptCode;

    /**
     * 所属部门名称
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    DEPT_NAME
     * Nullable:  true
     */
    @ApiModelProperty("所属部门名称")
    @Column(name = "DEPT_NAME")
    private String deptName;

    /**
     * 年度
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    ACCT_YEAR
     * Nullable:  true
     */
    @ApiModelProperty("年度")
    @Column(name = "ACCT_YEAR")
    private String acctYear;

    /**
     * 季度
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    QUARTER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("季度")
    @Column(name = "QUARTER_CODE")
    private String quarterCode;

    /**
     * 季度说明
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    QUARTER_NAME
     * Nullable:  true
     */
    @ApiModelProperty("季度说明")
    @Column(name = "QUARTER_NAME")
    private String quarterName;

    /**
     * 重点风险状态
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    STATUS
     * Nullable:  true
     */
    @ApiModelProperty("重点风险状态")
    @Column(name = "STATUS")
    private String status;

    /**
     * 重点风险状态说明
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    STATUS_NAME
     * Nullable:  true
     */
    @ApiModelProperty("重点风险状态说明")
    @Column(name = "STATUS_NAME")
    private String statusName;

    /**
     * 排序
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
//    private String rowOrder;
    private  Integer rowOrder;

    /**
     * 管理单位编码
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    MANAGE_COMP_CODE
     * Nullable:  true
     */
    @Column(name = "MANAGE_COMP_CODE")
    private String manageCompCode;

    /**
     * 管理单位名称
     * <p>
     * Table:     T_RIWA_RISK_WARING
     * Column:    MANAGE_COMP_NAME
     * Nullable:  true
     */
    @Column(name = "MANAGE_COMP_NAME")
    private String manageCompName;

}